package com.cy.pj.sys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 张琪
 * @date 2020/11/16
 * @describe
 */

@Setter
@Getter
@ToString
public class SysRole implements Serializable {

    private static final long serialVersionUID = -6576509338916314563L;
    private Integer id;
    private String name;
    private String note;
    @JsonFormat(pattern =  "yyyy/MM/dd HH:mm", timezone = "GMT+8")     // 该注解 默认时间格式为 格林威治时间
    private Date createdTime;
    @JsonFormat(pattern =  "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date modifiedTime;
    private String createdUser;
    private String modifiedUser;

}
